<template>
  <div class="newsong">
    <div class="item-contain" v-for="(item, index) in data" :key="index">
      <Item :data="item" />
    </div>
  </div>
</template>

<script>
import Item from "./item.vue";
export default {
  name: "NewSong",
  components: { Item },
  props: {
    data: {
      type: Array,
      default: [],
    },
  },
  setup(props) {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.newsong {
  .thumb {
    padding-bottom: 25px;
    padding-right: 25px;
  }

  .item-contain {
    width: 20%;
    float: left;
    overflow: hidden;
  }
}
</style>